package com.nervenets.shopping.controller.wealth.params;

import com.nervenets.general.web.params.Params;
import com.nervenets.shopping.enumeration.WealthType;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class SurplusParams implements Params {
    @ApiModelProperty(value = "资产类型", required = true)
    @NotNull
    private WealthType wealthType;
    @ApiModelProperty(value = "用户ID，如果查自己的不传")
    private long userId;
}
